package itsm.isperp.module.repository.sparepart;

import itsm.isperp.framework.data.mybatis.dao.CUDMapper;
import itsm.isperp.module.entity.sparepart.SptSparepartMinStockRule;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SptSparepartMinStockRuleMapper extends
		CUDMapper<SptSparepartMinStockRule> {

	List<SptSparepartMinStockRule> findBySparepartId(
			@Param("sparepartId") String sparepartId);

	void deleteBySparepartId(@Param("sparepartId") String sparepartId);


}
